Fix glue errors
Reset error/exception handlers when an error occurs