thr-4: added synchronized on a srtatic variable