Added support for a max reconnection delay (delay between reconnect attempts)