allowing close to be called multiple times without blockign forever and avoiding the panic when logging on a closed logger
test for double close and log after close
Merge pull request #8 from smw1218/master

Fixing panic on log after close