In reply to Pooria Asteraky (@pooriast).

40 minutes? Probably your VM shut off and you need to go restart it. If you're on the free developer plan, it shuts off after 15 minutes of inactivity. If it stalls out or takes too long I would just start over.