This is different from phone to phone, but there should be some option to allow a steady connection despite not having an active internet access. If this is somehow not provided, the phone might see the network as faulty and automatically disconnects.