consume http server request to fire end event
fix migrate not working after first file