Allow TIMEOUT_SEC env var to make timeout *shorter* than 5 sec, not just longer
Ensure a test that fails because cursors aren't closed fails with "Waited too long for cursors to close", not just "test timed out"
Remove unnecessary check_callable()
Useless import
Obsolete TODO
Simplify and rearrange wrapping mechanism to call functools.wraps() at import time instead of method-call time