Removes connect and open tasks