adds specs for 'listen' and 'timeout'. Makes 'timeout' more efficient and auto-closing