Added clean_leftovers to sbd for testing of cleaning up semaphores and shared memory.