Return exit status to client