Money generally doesn't just disappear out of nowhere, you sure you didn't deposit it and then disconnect right after? Either way I doubt that glitch would work if it was only 40k, but it could be a possibility.