change thread to background