Add pause to fix #49
Merge pull request #52 from danielchatfield/fix-callback

Fix bug to properly close readline.