GIBS-578 Added error exit code and catch around sigevent errors