separated client from server exit_code