Added IOError catch in writeError() method of exportClass.py. Timeout related websocket closures can cause such errors.