Make sure to close all connections