Changed server reset_data method to synchronous simplifying related
client and server code.