add poor mans timeout until we have a proper event loop