stayOpen will again work properly. Fixes #211