move the goroutine to read socket in a more logical place where we are sure that the bot.socket has been properly initialized