I've gotten this bug quite a few times. One small addition is that it can sometimes happen "silently", where even though you have actively closed out of the Mafia UI, the Java process doesn't terminate after attempting to close Mafia, leaving a small ghost process using a minimal amount of RAM...