send statistics msgs only when it is required