Bug fix: wasn't restablishing connection.