Fix bug in restarting wrappers

Don't use a slot in de restart queue if it is already in use
Merge pull request #7 from mjrider/improvements

Fix bug in restarting wrappers