SONARPLUGINS-2574 refactoring of ForkedRunner