protected static boolean stopServer (int portNumber) {
		int stopServerPort = portNumber;
		DatagramSocket aSocket = null;
		String RMInitMessage = Parameters.RM_NAME + "/" + Parameters.METHOD_CODE.RESTART_REPLICA.name();
		boolean ackRecieved = true;

		try {
			aSocket = new DatagramSocket();
			byte [] m = RMInitMessage.getBytes();
			InetAddress aHost = InetAddress.getByName("localhost");
			DatagramPacket request = new DatagramPacket(m,RMInitMessage.length(), aHost, stopServerPort);
			aSocket.send(request);

		}
		catch (SocketException e){
			System.out.println("Socket " + e.getMessage());
			ackRecieved = false;
		}
		catch (IOException e) {
			System.out.println("IO: " + e.getMessage());
			ackRecieved = false;
		}

		finally {
			if (aSocket != null) {
				aSocket.close();
			}
		}
		return ackRecieved;

	}