Support thread cancellation in skinny_cond_wait
skinny_mutex_lock should not be a cancellation point