stop ovs before attempting to replace the database