added DisconnectUser to flushData, to prevent schema lock error