use waitforexit combined with kill
Merge pull request #1375 from NServiceBus/WaitForExit

Use waitforexit combined with kill, fixes #1365