Revert "Added open()/close() at start of each method"

This reverts commit 4fbdc1a08473d6cc7521ea505cd12216b048e013.