Working on sem_close