Updated InoutHandler, dispose()