Improved API

- Enable auto reconnection following a server shutdown