code: private void checkTransport() throws WorkException
     {
        if (!transport.isInitialized())
        {
           try
           {
              transport.initialize();
              initialize();
           }
           catch (Throwable t)
           {
              WorkException we = new WorkException("Exception during transport initialization");
              we.initCause(t);
              throw we;
           }
        }
     }
docs: Check the transport
  @exception WorkException In case of an error