serial_conn.py: use of parameter timeout

Timeout parameter is now also used for the writing access.
Issue #39

Signed-off-by: Johannes Kroop <johkroop@gmail.com>