CORE-4400: fixed a problem with the init script launching multiple processes