Disconnect after submit