tests: increased timeouts and waiting times to make sure the threading tests do not fail