get API delay work func