Sleep added to receive thread.