adding a non-reliable method of checking if there is a free thread