Dont try to update metrics if the queue is empty

Just handle the situation if no data is to be sent.