Added end function to streampass for server.js disconnect listener