allow restart in `%run -d`

closes #3043