Close process handle