Store port and queue resource ids as bytestrings
Close the session after the test