Fixed NoNodeAvailableException while running embedded elasticsearch