fixed command_handler process termination problem