Fix start up of RethinkDB for CI tests.
Allocate and free timeout structure.