Add an timeout function to the notifications

And space after comma here.