Lock the vhosts.json file before accesing it.
Git Ignore file.
FIX: correctly handle read/write files.
FIX: do not kill Xsession when vhosts is already stopped.