@clay, when stepping through code in XDebug this is a frequent occurrence. I have solved this problem as follows.
nginx.conf
— add fastcgi_read_timeout 3600s;
after the line fastcgi_buffer_size 32k;
apache2.conf
— change the line Timeout 300
to Timeout 3600
This changes the timeouts to an hour. The reference is https://www.fdgweb.com/increase-php-timeout-values-apache-ngnix/
Can we change the above to a feature request for a permanent change to this?