public boolean disconnect()
    {
        try
        {
            connection.close();
            Log.logi("Connection closed");
            return true;
        } catch (SQLException ex)
        {
            Log.loge(ex.getMessage());
        }
        return false;
    }