Add an extra parameter for datawaiting, pump to prevent high cpu load