fix bad callback when cheking if the server is back online