Free bot client if cannot load bot

Introduced by commit a57a5cfd9b5dcc51696777c67b275c55c5b4b452.