Fixed disconnected client references

Signed-off-by: Gerco van Heerdt <gercovanheerdt@gmail.com>