JBIDE-14363  barrier is not notified if monitor is canceled