Fix memory leak in system_server when screen on/off