Add back-off reconnection mechanism
Some bug fixes