Kill PhantomJS process when the timeout is reached

Related to issue #17