Added ThreadPause header to synchronise threads