Updated process.py - timeout issue #151

This fixes issue #151 but needs testing