Replace openConnection/closeConnection with open/close

Fixes #9.