fix: accept retry_after of type 'datetime.datetime'