forgot to decrease number of fds in event loop after removing timer
don't return negative number (i.e. an error) on timeout
renamed timespec variable
added debug logging message