Do not leak processes during reql tests

Review 665 by @wmrowan
Closes #1055