fix getInstance() bug and add close()/isClosed() method
update license
update README.md