Fixed a bug where Botrick was ignoring the config setting for the maximum number of reconnection attempts.