Added more checks to detect invalid task
Better exception catching when clean.sh script is called
Merge branch 'development' of https://github.com/dmaciejak/cuckoo-dma into development