suppress errors due to thread being interrupted