Added error handling for WP.

Mainly handling TimeoutError. User will receive alerts if Events API is unavailable.

Jira issue: APPKIF-4