add retries to znc plugins