Issue452

I fixed kozdincer's earlier patch, I hope (we'll see from travisCI).
Sorry, I meant to create a pull request to upstream supervisor, not your fork, kozdincer! :-)