Patch out close connection so that tasks don't do that