You may be moving out of range of the WiFi. Check your device’s WiFi signal strength indicator and move to a different location.
Some devices may automatically disconnect you from the wireless network when they have not been used for a period of time.
It’s also possible that your location may be causing interference with the WiFi signal – try moving to another location and attempt to connect to the service.