this is but
That's likely because co changed its anti bot protection at least slightly. The bot is probably being detected when you try to hook the client and therefor it closes out.
Simple explanation would be that the bot is out of date and you have to update it yourself.