fixed an issue which caused multiplex.go to get stuck in an infinite loop