Use Bacon.Bus to map error and close events

Signed-off-by: Aki Saarinen <aki@akisaarinen.fi>