Dont resond if headers have been sent