Added ability to specify time to wait before raising critical time for timeout outages, fixes #1228

@andreasohlund can you review?
Is this what you were after ?