Fix 'keepOpen' always true (oops!!)
Merge pull request #8 from andrepl/master

Fix 'keepOpen' always true (oops!!)