Consolidate monitor disconnection handling