workaround for termination issue in subscription maintainer function