Deferring GSM data connection
Go to SETTINGS > WIRELESS &amp; NETWORKS > Wi-Fi SETTINGS

Press MENU and choose ADVANCED.

Click Wi-Fi SLEEP POLICY and make sure NEVER is selected.

This might help your WiFi connection remain connected.

These are available on my Samsung Spica running v2.1 (Eclair).