a strange attempt to catch a socket-level timeout
catching exceptions in parsing of function definition