Included standard error in the output
Handled process not exiting properly