Fixed closing on shutdown
Fixed closing on shutdown

ayufan/travis-osx-vm-templates,ayufan/travis-osx-vm-templates,ayufan/travis-osx-vm-templates,ayufan/travis-osx-vm-templates,ayufan/travis-osx-vm-templates