Added _UIApplicationTerminate()

Used SIGTERM to terminate backgrouned apps