Specify temporary directory, and try to kill other processes when stopping the server.