Fix hang on start/stop on Ubuntu 14.04

The init script hangs on Ubuntu 14.04. I've tried various combination of expect daemon or fork. This commit is the one that finally worked. I've not tested against previous releases.