Added method to clear connections hash table