Fix restart issue with rocks engine

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>