Demonstrator of transition handling for the CMS threaded framework