fix, PEBKAC, actually close the descriptor opened in test()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, close file descriptor in case mapping it fails in test()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'fix/general'

* fix/general:
  fix, PEBKAC, close file descriptor in case mapping it fails in test()
  fix, PEBKAC, actually close the descriptor opened in test()
minor, provide timeout functionality

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'feat/timeout'

* feat/timeout:
  minor, provide timeout functionality