single try/catch for connection and prepare statement