Adding open_count to fix sem_close

 FreeBSD tests seem to be passing