Fix timeout

Added timeout so notification does not hang when endpoint not responding