mysql Con closing early, attemptimg to fix stack size exceeding, added --flush flag instead of run = true config