After closing browser, AM being closed immediately too, right?!
Use this autoit-script. It kills the task of attract.exe after closing firefox.
#include <MsgBoxConstants.au3>
run ('C:\Program Files\Mozilla Firefox\firefox.exe')
;run ('C:\Program Files (x86)\Mozilla Firefox\firefox.exe')
While 1
If ProcessExists("firefox.exe") Then
Else
ProcessClose("attract.exe")
Exit
EndIf
WEnd