Allowing cleaning thread to run