[8.x]WFLY-3337 Server should limit number of workers based on available FD's

**DO NOT** merge yet

Probably needs some more testing on few different platforms.