Decode the message within a goroutine