Descriptors update

Checks for maximum number of open file descriptors have been amended so
they actually work now.