Enhanced reconnect logic in client
Bump version to 1.0.4
Allow setting connection timeout
Bump version to 1.0.5