LPS-51193 Terminate fabric workers before shutdown fabric agent to avoid...

... the windows file locking issue on repository cleaning.