private boolean getJob(){
        connect();
        out.println(Command.GET_JOB);
        try {
            String jobsAvailable = in.readLine();
            if(jobsAvailable == null || jobsAvailable.equals(Command.NO_JOB)){
                System.out.println("Server has no jobs available");
                return false;
            } else {
                job = Job.recv(in);
                System.out.println("Got Job ID " + job.getId());
            }
        } catch (IOException e) {
            System.err.println("Error: IOError when retrieving job.");
        }
        disconnect();
        return true;
    }