This pull request adds more setting to the reconnect feature.
when the server is offline there is a setting to reconnect very quick (this helps for quicker reconnects when a server restarts).
when the server has a cooldown that you need to wait some undefined time before reconnecting there is a setting to add on the time to wait before reconnecting. Therefor eventually you can join the server again without needing to restart the program.
This pull request adds more setting to the reconnect feature.