Remove useless array copy.
Add a delay for RethinkDB to start up.