taking care of exception when selenium server was not running