Tests scale back in case they exhaust avaialable file descriptors

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>