fixed timeout problems and bot.py duplicate instances