close the work log function