All working except ending the processes