added and tested timeoutProcessing()