Update dockerpty to fix discovered race condition.

Signed-off-by: Chris Corbyn <chris@w3style.co.uk>