Even with a stable tool like v5.0.1, errors occur. Here are the most frequent ones.
The progress bar at the bottom will turn various colors (typically red, then yellow/gray). Once a green circle or a "Success" window appears, you can safely disconnect your phone. Common Troubleshooting flashtool-v5.0.1