All the webserver is configured to timeout at a certain time period, say 30 sec. This limitation is of webserver/ Apache and never phpshell. Should you be attacking equipment is behing a NAT router, you'll need to set up a port forward for the attacking machines IP / Port. The http://phpshell17828.blogoscience.com/5920812/5-simple-techniques-for-php-shell