ThisPesteringClient - adding support for reconnect

Client will now reconnect if the underlying WebSocket gets closed unless a reconnect timeout is exceeded or the operation has been cancelled.