Fix bug in restarting wrappers

Don't use a slot in de restart queue if it is already in use