added code to check the manually delayed queue