Use a lock port to ensure parent has exited (fixes #450)
Use a lock port to ensure parent has exited (fixes #450)

makeTaller/syncthing,brgmnn/syncthing,josephyzhou/syncthing,burkemw3/syncthing,mateon1/syncthing,Kudalufi/syncthing,wweich/syncthing,imsodin/syncthing,krig/syncthing,danieldc/syncthing,trojanspike/syncthing,imsodin/syncthing,arkhi/syncthing,jbfavre/syncthing,kralo/syncthing,TheBigBear/syncthing,mateon1/syncthing,jgke/syncthing,mateon1/syncthing,cherylquirion/syncthing,bigscoop/syncthing,jemmy655/syncthing,printedheart/syncthing,lkwg82/syncthing,norgeous/syncthing,rumpelsepp/syncthing,krig/syncthing,jryans/syncthing,buinsky/syncthing,wweich/syncthing,kamadak/syncthing,canton7/syncthing,danieldc/syncthing,kozec/syncthing,printedheart/syncthing,atyenoria/syncthing,makeTaller/syncthing,Zillode/syncthing,norgeous/syncthing,plouj/syncthing,toddleish/syncthing,itscaro/syncthing,syncthing/syncthing,Kudalufi/syncthing,AudriusButkevicius/syncthing,imsodin/syncthing,brgmnn/syncthing,YtvwlD/syncthing,kattunga/syncthing,beni55/syncthing,abhishekgahlot/syncthing,abhishekgahlot/syncthing,pembo210/syncthing,le9i0nx/syncthing,abhishekgahlot/syncthing,guerrerocarlos/syncthing,beni55/syncthing,ZdenekBrichacek/syncthing,kamadak/syncthing,arkhi/syncthing,trojanspike/syncthing,pembo210/syncthing,michalliu/whale,Kudalufi/syncthing,modulexcite/syncthing,letiemble/syncthing,danieldc/syncthing,kralo/syncthing,makeTaller/syncthing,guerrerocarlos/syncthing,TheBigBear/syncthing,kozec/syncthing,canton7/syncthing,tenebreux/syncthing,ProactiveServices/syncthing,imsodin/syncthing,canton7/syncthing,indradhanush/syncthing,gillisig/syncthing,le9i0nx/syncthing,kamadak/syncthing,butlife/syncthing,wsgcsysadmin/syncthing,le9i0nx/syncthing,canton7/syncthing,AudriusButkevicius/syncthing,kc1212/syncthing,printedheart/syncthing,xduugu/syncthing,ralder/syncthing,itscaro/syncthing,alex2108/syncthing,michalliu/whale,ZdenekBrichacek/syncthing,letiemble/syncthing,buinsky/syncthing,krig/syncthing,syncthing/syncthing,Kudalufi/syncthing,buinsky/syncthing,Zillode/syncthing,makeTaller/syncthing,modulexcite/syncthing,uok/syncthing,kc1212/syncthing,letiemble/syncthing,josephyzhou/syncthing,manveru/syncthing,modulexcite/syncthing,ProactiveServices/syncthing,lkwg82/syncthing,manveru/syncthing,Zillode/syncthing,xduugu/syncthing,TheBigBear/syncthing,bigscoop/syncthing,rumpelsepp/syncthing,norgeous/syncthing,YtvwlD/syncthing,syncthing/syncthing,alex2108/syncthing,ZdenekBrichacek/syncthing,kattunga/syncthing,flyzjhz/syncthing,michalliu/whale,indradhanush/syncthing,kluppy/syncthing,wsgcsysadmin/syncthing,wweich/syncthing,mcanthony/syncthing,flyzjhz/syncthing,nrm21/syncthing,kattunga/syncthing,beni55/syncthing,trojanspike/syncthing,plouj/syncthing,jryans/syncthing,rumpelsepp/syncthing,jgke/syncthing,gillisig/syncthing,jgke/syncthing,toddleish/syncthing,cherylquirion/syncthing,TheBigBear/syncthing,josephyzhou/syncthing,guerrerocarlos/syncthing,MinFu/syncthing,kc1212/syncthing,syncthing/syncthing,mcanthony/syncthing,rumpelsepp/syncthing,jbfavre/syncthing,ProactiveServices/syncthing,ralder/syncthing,kluppy/syncthing,MinFu/syncthing,jryans/syncthing,jgke/syncthing,jryans/syncthing,kluppy/syncthing,Zillode/syncthing,wweich/syncthing,kralo/syncthing,ProactiveServices/syncthing,bigscoop/syncthing,toddleish/syncthing,cherylquirion/syncthing,lkwg82/syncthing,beni55/syncthing,michalliu/whale,nrm21/syncthing,printedheart/syncthing,mcanthony/syncthing,krig/syncthing,ralder/syncthing,cherylquirion/syncthing,kluppy/syncthing,pembo210/syncthing,pembo210/syncthing,MinFu/syncthing,brgmnn/syncthing,uok/syncthing,gillisig/syncthing,danieldc/syncthing,jemmy655/syncthing,YtvwlD/syncthing,jemmy655/syncthing,tenebreux/syncthing,jemmy655/syncthing,roth1002/syncthing,imsodin/syncthing,uok/syncthing,manveru/syncthing,brgmnn/syncthing,jbfavre/syncthing,atyenoria/syncthing,butlife/syncthing,letiemble/syncthing,norgeous/syncthing,lkwg82/syncthing,indradhanush/syncthing,syncthing/syncthing,butlife/syncthing,AudriusButkevicius/syncthing,burkemw3/syncthing,kralo/syncthing,arkhi/syncthing,alex2108/syncthing,roth1002/syncthing,butlife/syncthing,YtvwlD/syncthing,abhishekgahlot/syncthing,plouj/syncthing,itscaro/syncthing,modulexcite/syncthing,flyzjhz/syncthing,nrm21/syncthing,josephyzhou/syncthing,indradhanush/syncthing,jbfavre/syncthing,buinsky/syncthing,mateon1/syncthing,syncthing/syncthing,kattunga/syncthing,wsgcsysadmin/syncthing,plouj/syncthing,kozec/syncthing,itscaro/syncthing,atyenoria/syncthing,burkemw3/syncthing,manveru/syncthing,roth1002/syncthing,flyzjhz/syncthing,bigscoop/syncthing,xduugu/syncthing,alex2108/syncthing,tenebreux/syncthing,le9i0nx/syncthing,kc1212/syncthing,uok/syncthing,MinFu/syncthing,roth1002/syncthing,mcanthony/syncthing,ralder/syncthing,wsgcsysadmin/syncthing,trojanspike/syncthing,arkhi/syncthing,gillisig/syncthing,xduugu/syncthing,toddleish/syncthing,kamadak/syncthing,guerrerocarlos/syncthing,AudriusButkevicius/syncthing,kozec/syncthing,nrm21/syncthing,burkemw3/syncthing,atyenoria/syncthing,tenebreux/syncthing,ZdenekBrichacek/syncthing