-First try of exiting PID cleanly and comming to initial state