force close all connections method