WL-2657 Stop runaway thread in calendar refresh.

Simple fix to stop the calendar running away under concurrent access.