Make exception handler installation optional