Removes add_client method from background tasks.