add a service to hold the function to be not killed by system when low memory.