set temp connections to null after usage