[PATCH 05/28] Catch failures when installing signal handlers