Make kill close stdin before killing process
Make stop close stdin, properly closing sbt
Merge pull request #10 from qiemem/master

Fix for issue #9