poke(['server1']); } catch (Exception $e) { die($e->getMessage()); } // closing connection $client->close();