Merge pull request #23 from blackwithwhite666/master

Allow to specify shutdown timeout