Restaured reconnect option for mysql connections