Fixed sendStatusUpdate. Waits for server to reply with success.