Add getConnection() method

Add method for connection persistance. In case when cannection is still
alive, return that one, if not re-initilize it.