It's an old known bug. To prevent this bug: All bots should have bot_forceloadingame = 0 in their ghost.cfg and check it is disabled in their map cfg if they use one.
I still consider any hero using this extreme exploit as a bannable offence. In other words, do not use it, or else you will be considered a hacker.