implement timeout for notification where required

fixes issue #49