Removed some old code
Wrapped an exception catch around the creation of a new connection
Better detection for old died connections.

Signed-off-by: Michel <info@1st-setup.nl>
Fixes problem when working with a showonlyavailability calendar where items would dissapear from view when a refresh happened or you moved to another week.

Signed-off-by: Michel <info@1st-setup.nl>