fixed some potential null reference errors on reactor sockets