More cleanup.
Make `smcp_wait()` return SMCP_STATUS_TIMEOUT if the timeout expired.
unit-tests: Added "test-concurrency" to test general concurrency.