improved the code about process isolation
improved the code of SocketService