How to keep a service from closing?
Try Auto Memory Manager and set your minfree values on the secondary server lower so it has lower chances killing off services. You can also increase the OOM priority of the service to 0 (lower values means less chance of being killed), also part of app.