exit with the exit code of ./bin/key_server.js

possible for for #809