make constants from maxfd values (#1300)

its good practice to use constants instead of (random) values.

Signed-off-by: Sven Nierlein <sven@nierlein.de>