actually, this needs to be handled here because one of the ->handle()s might close the connection.