refactor - set a maximum frame time to limit message overload