Remove files which perform updates
Replace connection closing