remove side-effect from constructor

firing up the connection is now a two-step process for easier testability