Fix elasticsearch restart option for travis