Added possible timeout to co_mgr, icluding test cases.