Made PostCloseMessage() method virtual