Tighten it up with use of semaphores and collapse s1/s2/s3 using "accept" keyword.
Attach a file by drag & drop or click to upload