Receive the next message from the client, if the client anserws with the
correct ack call success. If there was a timeout or the ack was for an
invalid index call retry, if an error occured call 'error