-record(wait_with_timeout, {timeout_ms :: integer()}).