Try to cleanup dangling processes on int or timeout (#5, #6)