bugfix in drivers - null the handler after close()