api/app: prevent short writes on restart
api/app: prevent short writes on restart

4eek/tsuru,Endika/tsuru,gciotta/tsuru,gwmoura/tsuru,ggarnier/tsuru,RichardKnop/tsuru,ArxdSilva/tsuru,guilhermebr/tsuru,kgrvamsi/tsuru,cezarsa/tsuru,ggarnier/tsuru,firebitsbr/tsuru,gwmoura/tsuru,mderaldo/tsuru,ArxdSilva/tsuru,gwmoura/tsuru,RichardKnop/tsuru,ggarnier/tsuru,hugoantunes/tsuru,kgrvamsi/tsuru,tsuru/tsuru,jblancett/tsuru,4eek/tsuru,Endika/tsuru,tsuru/tsuru,cgvarela/tsuru,firebitsbr/tsuru,cgvarela/tsuru,tuxmonteiro/tsuru,cezarsa/tsuru,tuxmonteiro/tsuru,ArxdSilva/tsuru,firebitsbr/tsuru,tuxmonteiro/tsuru,gciotta/tsuru,ArxdSilva/tsuru,gciotta/tsuru,tsuru/tsuru,hcxiong/tsuru,kgrvamsi/tsuru,RichardKnop/tsuru,guilhermebr/tsuru,guilhermebr/tsuru,Endika/tsuru,mderaldo/tsuru,hcxiong/tsuru,4eek/tsuru,jblancett/tsuru,jblancett/tsuru,cezarsa/tsuru,ggarnier/tsuru,cgvarela/tsuru,guilhermebr/tsuru,hugoantunes/tsuru,mderaldo/tsuru,hcxiong/tsuru,cezarsa/tsuru,tsuru/tsuru