title: Discord.py voice stopping randomly
body: <p>I am trying to code up a discord bot with some voice commands. One of them works normally:</p>
  
  <pre><code>async def padoru(ctx):
      if not bot.is_voice_connected(ctx.message.server):
          vc = await bot.join_voice_channel(ctx.message.author.voice_channel)
      else:
          await vc.move_to(ctx.message.author.voice_channel)
      player = vc.create_ffmpeg_player('padoru.mp3',after=lambda:print("padoru started"))
      player.start()
      while not player.is_done():
          pass
      await vc.disconnect()
  </code></pre>
  
  <p>While the other crashes the bot(after playing the song for a while): </p>
  
  <pre><code>async def kazoo(ctx):
      if not bot.is_voice_connected(ctx.message.server):
          vc = await bot.join_voice_channel(ctx.message.author.voice_channel)
      else:
  
          await vc.move_to(ctx.message.author.voice_channel)
      player = vc.create_ffmpeg_player(random.choice(kazoos),after=lambda:print("kazoo started"))
      player.start()
      while not player.is_done():
          pass
      await vc.disconnect()
  </code></pre>
  
  <p>The crash doesn't really print anything, the bot just stops responding to any commands as well as stopping the voice command itself.</p>