Implementation of reconnecting webservice library.