Wait until pngquant is complete before piping image to server