destroy handles.. to be sure.
downgrade reporting category for some warnings