A wormhole can transport us back in time but not to the future