https://bugs.winehq.org/show_bug.cgi?id=45974
--- Comment #2 from Sergey Alirzaev zl29ah@gmail.com --- (In reply to Alexandre Julliard from comment #1)
There's a 1-second delay before shutting down an existing explorer process, to improve performance in case another app is launched right away. That's on purpose.
`sleep 5` is because lesser values have misfired at least once. What would be the proper way to wait for it to die or kill it for good?