Do not invoke callback after close

fixes #83