How were the crew able to communicate to the earth having gone to a faraway place?

We could see the crew getting occasional messages from earth. Did they factor in the time taken for wave to travel all the distance? They used the worm hole to bypass. But how did the communication work? Wouldn't it takes a long time even receive a message?